package com.ruoyi.common.im.dao;

import com.ruoyi.common.im.entity.YytImRecentSession;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.vo.MyRecentUsersListVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* <p>
    * 即时通讯-最近会话 Mapper 接口
    * </p>
*
* @author MrPing
* @since 2022-08-23
*/
@Repository
public interface YytImRecentSessionMapper extends BaseMapper<YytImRecentSession> {

    List<MyRecentUsersListVO> getUsersList(@Param("memberId") String memberId);
}
